<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%@include file="/pages/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
	<title>广东工业大学招生办-资料下载</title>
	<link rel="stylesheet" type="text/css" href="${ctx}/css/reset.css" />
	<link rel="stylesheet" type="text/css" href="${ctx}/css/common.css" />
	<link rel="stylesheet" type="text/css" href="${ctx}/css/home.css" />
	<link rel="stylesheet" type="text/css" href="${ctx}/css/page.css" />
		 <script src="${ctx}/js/jquery-page.js" type="text/javascript"></script>
	<script src="${ctx }/js/table.js" type="text/javascript"></script>
	<script type="text/javascript" src="${ctx }/js/showTime.js"></script>
	<script src="${ctx}/js/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$(".list-time").each(function(){
				$(this).html($(this).html().substr(0, 10));	
			});
		});
	</script>
</head>
<body>

	<div class="wrapper">
		<jsp:include page="../../../header.jsp" flush="true" /> 

		<!--main-content-->
		
		<div id="main-content-child-page" class="w960 auto">
			<!--Breadcrumb Trail-->
			<div class="breadcurmb-trail mt5 mb10">
				您的位置：<a href="${ctx }/index.html">网站首页</a>-资料下载
			</div>
			<div class="content rel">
			<div class="f16 pt10 pb10 ml20 mr20 mb20 tc tip"><a class="red">温馨提示</a>：请输入关键字进行搜索</div>
				<div class="content-title f20 rel l">
					资料下载
				</div>
				<div class="content-pic1 rel"></div>
				<div class="content-pic2 rel"></div>
				<div class="content-pic3 rel l"></div>
				<form name="search" id="search" class="search r" method="post" action="${ctx}/base/attachment!list.action" style="margin-top:-20px">
					<input type="text" name="keywords" value="${keywords }" />
					<input type="submit" name="" value="搜索" class="search-button"/>
				</form>
				<form action="${ctx}/base/attachment!list.action" method="post" id="mainForm" name="form">
			<input type="hidden" name="page.pageNo" id="pageNo" value="${page.pageNo}"/>
			<input type="hidden" name="keywords" value="${keywords}"/>
				<div class="content-list rel f14 clearfix">
					<ul>
					<s:iterator value="attachmentList">						
						<li><img src="${ctx }/images/home_point3.png" class="li-point" /><a href="${ctx }/upload/${url}" title="${name}">${name}</a><span class="list-time">${inputTime}</span></li>
						</s:iterator>
					</ul>
				</div>
				<div class="next-page tc f14 mt40 pb20">
					<a href="javascript:jumpPage(1)">首页</a>
          			 <s:if test="page.hasPre"><a href="javascript:jumpPage(${page.prePage})">上一页</a></s:if>
        			 <s:if test="page.hasNext"><a href="javascript:jumpPage(${page.nextPage})">下一页</a></s:if>
            		<a href="javascript:jumpPage(${page.totalPages})">尾页</a>
					当前第${page.pageNo}页
					共${page.totalPages}页
				</div>
					</form>
			</div>
		</div>
	
		<jsp:include page="../../../footer.jsp" flush="true" /> 
	</div>	
	</body>
</html>